package cn.lyjuan.payment.third.base.pay.vo.req;

public class NotifyReq<D extends NotifyReq.INotifyReq>
{
    /**
     * 流水号
     */
    protected String localNo;
    /**
     * 每个支付平台通知的独立信息
     */
    protected D params;

    public NotifyReq()
    {
    }

    public NotifyReq(String localNo, D params)
    {
        this.localNo = localNo;
        this.params = params;
    }

    public String getLocalNo()
    {
        return localNo;
    }

    public void setLocalNo(String localNo)
    {
        this.localNo = localNo;
    }

    public D getParams()
    {
        return params;
    }

    public void setParams(D params)
    {
        this.params = params;
    }

    @Override
    public String toString()
    {
        return "NotifyReq{" +
                "localNo='" + localNo + '\'' +
                ", params=" + params +
                '}';
    }

    /**
     * 渠道通知请求信息接口
     */
    public interface INotifyReq
    {
    }
}
